#ifndef TETLSHORTER_H
#define TETLSHORTER_H

#include "shorter.h"

class TeTlShorterCreator: public ShorterCreator
{
public:
    virtual QSharedPointer<Shorter> create(QSharedPointer<QSettings> s);
};

class TeTlShorter : public Shorter
{
    Q_OBJECT
public:
    TeTlShorter(QSharedPointer<QSettings> s, QObject *parent = 0);

private:
    virtual void doShortLink(const QUrl &url);
    virtual void doFinish(QNetworkReply *reply);

};

#endif // TETLSHORTER_H
